Non-deterministic Updates in Daplex

نویسندگان

  • Suzanne M. Embury
  • Peter M.D. Gray
چکیده

We have developed a new loop construct for the Daplex Functional Data Language which allows users to specify the creation of sets of objects in terms of a constraint speciication that they must meet, rather than a direct assignment of attribute values. Programs written in the extended language are compiled into Prolog routines that use a backtrack search strategy to locate a sequence of updates that will cause the constraints to be satissed in the new database. The constraints are described in terms of relationships with existing objects in a database, and use the full power of the Daplex language. Objects, once constructed, are committed into the persistent object database. The idea is to take advantage of uniication and non-determinism, which are beneets of the underlying logic programming implementation, whilst preserving the clarity of expression of the higher-level functional language. The construct has been implemented and tested on a sizeable object database, and suggests interesting new directions.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Aucs/tr9507 Database Object Creation Subject to Constraint Rules Using a Constraint Logic Search Engine

The P/FDM object database is based on a semantic data model in which stored data is integrated with derived data which is computed by Prolog rules retrieved from the class de-scriptors stored in the database. These rules may also be inherited. They are generated from declarative deenitions expressed in the functional data language Daplex. Other Prolog rules are generated from integrity constrai...

متن کامل

Toward a General Spatial Data Model for an Object-Oriented DBMS

This paper describes the development of a general spatial data model for PROBE, a knowledge-oriented DBMS being developed at CCA [DAYA85, DAYASG]. The data model, called PDM, is an extension to the Daplex functional data model [SHIPII, FOX84]. The paper first describes the approach taken to defining spatial semantics in the model, and how these semantics were incorporated into the non-spatial a...

متن کامل

Updates and Non-Determinism in Object-Oriented Databases

While the topic of object-oriented databases is by now fairly mature { a standard for data deenition and query languages has been developed 10] { the question of updates has largely been ignored. Updates on object-oriented databases are relegated to methods, which are written in third-generation languages such as C++ and therefore appear as \black boxes" to the query processor. This poses two p...

متن کامل

Storage and Access Structures to Support a Semantic Data Model

This paper describes the design of storage and access structures for a high performance Ada* compatible database management system. This system supports the database application programming language ADAPLEX ISmith81, Smith821, which is the result of embedding the database DAPLEX [ Shipman 1 sublanguage in the general purpose language Ada [DoD80 1. A prominent feature of the underlying data mode...

متن کامل

View Updates Translations in Relational Databases

Views over databases have been studied in various directions for many years. Among these directions, translating view updates in terms of updates on the base relations has motivated many research eeorts. In this paper, we propose a method for characterizing translations of view updates, based on the notion of inverse of a relational expressions. Moreover, we characterize two kinds of updates: (...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995